]> dgit.raspbian.org Git - php8.4.git/commit
ax_gcc_func_attribute: Revise the detection of unknown attributes
authorMing Chen <ming.chen1986@gmail.com>
Mon, 2 Mar 2020 01:40:36 +0000 (09:40 +0800)
committerOndřej Surý <ondrej@debian.org>
Thu, 30 Jul 2026 15:17:04 +0000 (17:17 +0200)
commit6cf29a5ee53a9aab9080e23e1a40d3a71ee3ed3f
treec23203af3bd8b14e5c1be78e9c4af0966612ade7
parentd2698cdcd331f2fabdc942c0fc38819600af3d0f
ax_gcc_func_attribute: Revise the detection of unknown attributes

GCC outputs a warning when Wstrict-prototypes is on, in such case the
attribute detection always fails even if the attribute is actually
supported. This change checks for the "-Wattributes" warning in
conftest.err instead of the existence of the file.

Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/php8.1/+bug/1882279
Forwarded: https://github.com/php/php-src/pull/8483
Origin: http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=commitdiff;h=df0894ad1a8195df67a52108b931e07d708cec9a
Last-Update: 2022-05-02

Gbp-Pq: Name 0039-Update-gcc-func-attr-macro.patch
build/ax_gcc_func_attribute.m4